package com.xqboss.apps.vo.game.materialStrike;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 加油蛙材料冲击配置
 */
@Data
@ApiModel("加油蛙材料冲击配置")
public class GameMaterialStrikeConfigJson {

    @ApiModelProperty("风控系数列表")
    @JsonIgnore
    private List<RiskBean> riskList;

    @ApiModelProperty("手续费")
    private BigDecimal commissionRate;

    @ApiModelProperty("客户端成功率系数")
    private BigDecimal viewRate;

    @ApiModelProperty("放入最大数量")
    private Integer putMaxNum;
    @ApiModelProperty("放入最小数量")
    private Integer putMinNum;

    @ApiModelProperty("冲击材料最小概率")
    private BigDecimal strikeMinRate;
    @ApiModelProperty("冲击材料最大概率")
    private BigDecimal strikeMaxRate;

    @Data
    public static class RiskBean {

        @ApiModelProperty("风控系数")
        private Integer min;
        @ApiModelProperty("风控系数")
        private Integer max;
        @ApiModelProperty("风控系数")
        private BigDecimal riskRate;
    }

}
